package com.huazhi.wzsnw.mapper;

import com.huazhi.wzsnw.model.UserRole;
import org.apache.ibatis.annotations.Param;

public interface UserRoleMapper {
    int deleteByPrimaryKey(String tid);

    int insert(UserRole record);

    int insertSelective(UserRole record);

    UserRole selectByPrimaryKey(String tid);

    int updateByPrimaryKeySelective(UserRole record);

    int updateByPrimaryKey(UserRole record);

    UserRole selectUserRoleByUserTidAndRoleTid(@Param("usertid") String usertid, @Param("roletid") String roletid);
}